package com.example.huadu_server.landlord.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class UpdateScheduleDTO {

    @NotNull(message = "档期ID不能为空")
    private Integer scheduleId;

    @NotNull(message = "新状态不能为空")
    private String newStatus;

    // 当档期已有审核成功的预约时，此字段必须填写
    private String reason;
}
